#字典遍历
dict1 = {'name':'hello', 'age':18}
# TODO 遍历键
for key in dict1.keys():
    print(key)

for key in dict1:
    print(key)

# todo 遍历值
for value in dict1.values():
    print(value)

# TODO 遍历键值对 items
for key,value in dict1.items():
    print(key,value)
